package com.atguigu.spzx.manager.mapper.order;

import com.atguigu.spzx.model.dto.order.OrderStatisticsDto;
import com.atguigu.spzx.model.entity.order.OrderStatistics;

import java.util.List;

/**
 * @author Mahone
 */
public interface OrderStatisticsMapper {

    /**
     * 根据时间分组查询订单统计结果
     * @param orderStatisticsDto
     * @return
     */
    List<OrderStatistics> selectList(OrderStatisticsDto orderStatisticsDto);

    /**
     * 订单统计表插入一条信息
     * @param orderStatistics
     */
    void insert(OrderStatistics orderStatistics);
}
